package top.wshape1.shiziapi.mock.service;

import javax.script.ScriptException;

/**
 * @author Wshape1
 * @version 1.0
 * @description
 * @since 2023-10-14
 */

public interface JsEngineService {

    /**
     * 执行Mock.mock()
     *
     * @param template Mock.mock(template)
     * @return
     */
    Object mock(String template) throws ScriptException;

}
